home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / stkdir.c < prev    next >
Text File  |  1993-08-08  |  376b  |  24 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <stackdir.h>
  6. include <debug.h>    /* DELETE */
  7. tackdir::stackdir()
  8.  
  9.    dir = (plustwo() - plusone()) > 0;
  10.  
  11.  
  12. har *stackdir::plusone()
  13.  
  14.    char x;
  15.    return &x;
  16.  
  17.  
  18. har *stackdir::plustwo()
  19.  
  20.    return plusone();
  21.  
  22.  
  23. tackdir Stackdir;
  24.